package com.moco.launcher.bean;

import com.oazon.moco.link.core.LinkSDK;

/**
 * 用于保存后台接口地址
 * @author Gavin
 *
 */
public class MOCO_CONSTANTS {

	public static final String SCENE_URL = "http://media.vzume.com:8080/moco/item?type=OAZON_SCENE";
	public static final String PROGRAM_URL = "http://media.vzume.com:8080/moco/item?type=OAZON_PROGRAM";
	public static final String FAVORITE_ACTION_URL = "http://media.vzume.com:8080/moco/useritemlove/setfeel?user_id=10086&type=FAVORIT";// oazon_item_id=1&
	public static final String DELETE_ACTION_URL = "http://media.vzume.com:8080/moco/useritemlove/setfeel?user_id=10086&type=HATE";// oazon_item_id=1&
	public static final String CANCEL_ACTION_URL = "http://media.vzume.com:8080/moco/useritemlove/setfeel?user_id=10086&type=GENERAL";// oazon_item_id=1&

	public class ITEM_TYPE {
		public static final String CATEGORY = "CATEGORY";
		public static final String PLAYABLE_CATEGORY = "PLAYABLE_CATEGORY";
		public static final String PALY_LIST = "PALY_LIST";
		public static final String MEDIA = "MEDIA";
		public static final String SONG = "SONG";
	};
	
	//新后台的在下面
//	http://114.215.110.21/   =====   http://media.vzume.com/
	public static final String MAIN = "http://media.vzume.com/";
	public static final String ROOT_WANGYI = MAIN+"getMetadata?id=root&index=0&count=10&recursive=true&provider=wangyi";
	public static final String ROOT_DOUBAN = MAIN+"getMetadata?id=root&index=0&count=10&recursive=true&provider=douban";
	public static final String ROOT = MAIN+"getMetadata?id=root&index=0&count=10&recursive=true";
	
	//根据id和provide请求媒体的地址
	public static final String GET_MEDIA_URI = MAIN+"getMediaURI?id=ref:artist:4490";
	
	//智能推荐
//	public static final String RECOMMEND = MAIN+"getMetadata?id=ref:program:2&index=0&count=10&recursive=true";
	public static final String RECOMMEND = MAIN+"getMetadata?id=ref:program:3&index=0&recursive=true"; //&count=10
	
	//喜欢收藏
	public static final String LOVE_URI = MAIN+"getCollection?provider=o2 &deviceId="+LinkSDK.UUID+"&mediaId=1956";
	
	//删除
	public static final String DELETE_URI=MAIN+"getRemoved?provider=o2 &deviceId="+LinkSDK.UUID+"&mediaId=1956";
	//查询接口
	public static final String SERACH_URL = MAIN+"search?id=search:tracks&index=0&count=5&";
	
	  // 2015.06.12--#向O2发送网易歌单功能--Taylor
		public static final String POST_TO_O2_SONGSLIST = MAIN+"collectMedia";
	//查询歌曲是否喜欢和删除过getMediaAction  // 2015.06.12--#网易对接喜欢删除功能--Taylor
	public static final String REGUES_LOVE_DELETE_URI = MAIN+"getMediaAction?provider=o2 &deviceId="+LinkSDK.UUID+"&songId=1956";

	
	public static final String RECOMMEND_ROOT ="moco";
	public static final String ROOT_ID ="root";
	
	//sonos content
	//michael change: radio request 100 items, queue request 10 items
	public static final int PAGE_COUNT=10;
	public static final int QUEUE_COUNT = 10;//count
	public static final int RADIO_COUNT = 10;//count
	public static final int INDEX = 0;
	public static final boolean RECURSIVE = true;
	
	public static final String PROVIDER_LOGO_URL="http://update.o2fun.com/file/icon/";
	
	public static final String PROVIDER_WANNGYI="wangyi";
	public static final String PROVIDER_DOUBAN="douban";
	public static final String PROVIDER_O2="o2";
	public static final String PROVIDER_DEFAULT="";
}
